package ycl.common.models.req.maps.res.ad;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import ycl.common.models.req.maps.Location;

import java.math.BigDecimal;

/**
 * 知名地址
 *
 * @author: YCL
 * @date: 2021-10-05 21:30:00
 */
@Data
@ApiModel("参考位置信息")
public class Reference {

	@ApiModelProperty("地点id")
	private String id;

	@ApiModelProperty("名称")
	private String title;

	@ApiModelProperty("坐标")
	private Location location;

	@ApiModelProperty("此地址到坐标的直线距离")
	private BigDecimal distance;

	@ApiModelProperty("此地址到坐标的关系")
	private String dirDesc;

}
